package com.allwees.bs.core.model.share.bo;

import com.allwees.bs.core.model.share.constant.EShareType;
import com.allwees.core.common.constant.EPlatform;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yangylsky
 * @since 2019-10-26
 */
@Data
@NoArgsConstructor
public class ShareBo {
	private String uuid;

	private EPlatform platform;

	private EShareType type;

	private String ip;

	/**
	 * 分享者uuid
	 */
	private String sharerUuid;

	private String bsKey;

	private String shareCode;

//    public ActionLogDTO toLogBo() {
//		ActionLogDTO bo = new ActionLogDTO().setUaType(EActionType.SHARE_GEN);
//    	bo.setClientIp(ip)
//				.setPlatform(platform)
//				.setTypeName(type.name()) //EShareType
//				.setKey(bsKey) //TargetUuid
//				.setShareUuid(uuid) //ShareUuid
//				.setSharerUuid(sharerUuid) //SharerUuid
//				.updateRequestInfo();
//    	return bo;
//    }
}
